package it.uniba.di.collab.jazzfeed.common;

import it.uniba.di.collab.jazzfeed.common.model.User;
import com.ibm.team.repository.common.TeamRepositoryException;
import com.ibm.team.repository.common.transport.IParameterWrapper;
import com.ibm.team.repository.common.transport.ITeamModelledRestService;

public interface IJazzFeedService extends ITeamModelledRestService {

   User[] getUser() throws TeamRepositoryException;

   User postUser(NewUserParameters params)
         throws TeamRepositoryException;
  void postToRoom(String message) throws TeamRepositoryException;

   public static final class NewUserParameters
         implements IParameterWrapper {
      public String text;
   }
}
